package com.my.cd.decorator.decorator;

import com.my.cd.decorator.Drink;

/**
 * 主体次分支实现：调料分支实现 巧克力
 */
public class Chocolate extends Decorator {

    public Chocolate(Drink drink) {
        super(drink);
        super.setDesc("Chocolate");
        super.setPrice(3.0f);
    }

}
